* Construct growth rate in imported input shares using the OECD input-output data

use "Database/OECD/output/IMPORTSHARES_OECD_inputs_allcountries_sector.dta", clear // here shares are fraction between 0-1
keep if ccode=="MEX"
drop ccode
order year sector, first
sort year sector
keep if year==1995 | year==1999
drop mi
reshape wide importshare, i(sector) j(year)
gen growthsi_OECD = (importshare1999-importshare1995)/importshare1995 * 100
keep if sector>=3 & sector<=18
save "Database/NAFTA/output/growthsi_OECD.dta", replace
